package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品批发价位对象 tb_product_wholeasale_price
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public class TbProductWholeasalePrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 批发表ID */
    @Excel(name = "批发表ID")
    private Long productWholeasaleId;

    /** 规格表ID */
    @Excel(name = "规格表ID")
    private Long productSpecification;

    /** 价位 */
    @Excel(name = "价位")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProductWholeasaleId(Long productWholeasaleId) 
    {
        this.productWholeasaleId = productWholeasaleId;
    }

    public Long getProductWholeasaleId() 
    {
        return productWholeasaleId;
    }

    public void setProductSpecification(Long productSpecification) 
    {
        this.productSpecification = productSpecification;
    }

    public Long getProductSpecification() 
    {
        return productSpecification;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productWholeasaleId", getProductWholeasaleId())
            .append("productSpecification", getProductSpecification())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
